package com.axc.bug.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.axc.bug.dao.QuestionInfoDao;
import com.axc.bug.domain.QuestionInfoDO;
import com.axc.bug.service.QuestionInfoService;



@Service
public class QuestionInfoServiceImpl implements QuestionInfoService {
	@Autowired
	private QuestionInfoDao questionInfoDao;
	
	@Override
	public QuestionInfoDO get(String id){
		return questionInfoDao.get(id);
	}
	
	@Override
	public List<QuestionInfoDO> list(Map<String, Object> map){
		return questionInfoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return questionInfoDao.count(map);
	}
	
	@Override
	public int save(QuestionInfoDO questionInfo){
		return questionInfoDao.save(questionInfo);
	}
	
	@Override
	public int update(QuestionInfoDO questionInfo){
		return questionInfoDao.update(questionInfo);
	}
	
	@Override
	public int remove(String id){
		return questionInfoDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return questionInfoDao.batchRemove(ids);
	}
	
	
	@Override
	public List<QuestionInfoDO> PageLayUi_List_By_Query(QuestionInfoDO query){
		return questionInfoDao.PageLayUi_List_By_Query(query);
	}

	@Override
	public int total(QuestionInfoDO query){
		return questionInfoDao.total(query);
	}
			
	@Override
	public QuestionInfoDO Get_Model_By_Query(QuestionInfoDO query){
		return questionInfoDao.Get_Model_By_Query(query);
	}
}
